/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* 容器样式 */
.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 背景音乐播放器样式 */
.bg-music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.bg-music-player:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-2px);
}

.bg-music-audio {
    display: none;
}

.music-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.music-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.music-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.music-icon.playing {
    background: linear-gradient(135deg, #51cf66, #37b24d);
}

.volume-slider {
    width: 100px;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.bg-music-player:hover .volume-slider {
    opacity: 1;
}

.volume-icon {
    font-size: 16px;
}

.volume-input {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.volume-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.volume-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    width: 100vw;
    min-width: 1920px;
    background: rgba(45, 55, 72, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo h2 {
    color: #F7FAFC;
    font-size: 1.8rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #E2E8F0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
    cursor: pointer;
}

.nav-link:hover {
    color: #F7FAFC;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #F7FAFC, #E2E8F0);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* 首页区域样式 */
.hero {
    height: 100vh;
    width: 100vw;
    min-height: 1080px;
    min-width: 1920px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 32, 44, 0.7) 0%, rgba(141, 54, 212, 0.3) 50%, rgba(74, 85, 104, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    text-align: center;
    z-index: 3;
    position: relative;
}

.hero-logo {
    width: 500px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #F7FAFC, #E2E8F0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #CBD5E0;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 按钮样式 */
.base-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 120px;
}

.base-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, #F7FAFC, #E2E8F0);
    color: #2D3748;
    box-shadow: 0 4px 15px rgba(247, 250, 252, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 250, 252, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #F7FAFC;
    border: 2px solid #F7FAFC;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(247, 250, 252, 0.1);
    transform: translateY(-2px);
}

/* 区域标题样式 */
.video-section-spacer {
    height: 250px;
    min-width: 1920px;
    width: 100vw;
    background: transparent;
    background-color: #1A202C;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-header {
    text-align: center;
    margin-top: 0px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2D3748;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2D3748, #4A5568);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #718096;
    font-weight: 300;
}

/* 视频区域样式 */
.video-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 1080px;
    min-width: 1920px;
    width: 100vw;
    height: 100vh;
}

.section-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 1080px;
    object-fit: cover;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.5s ease-in;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    min-height: 1080px;
    min-width: 1920px;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(154, 103, 211, 0.3) 10%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.video-section .container {
    position: relative;
    z-index: 3;
    margin-left: 100px;
}

/* 轮播组件样式 */
.org-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease;
}

.carousel-btn:hover {
    transform: scale(1.1);
}

.org-card {
    background: linear-gradient(135deg, rgb(189, 131, 255, 0.3) 0%, rgb(0, 0, 0, 1) 100%);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 1460px;
    min-height: 840px;
    padding: 50px 40px 0 0;
}

.org-card-img {
    background: linear-gradient(135deg, rgb(189, 131, 255, 0.3) 0%, rgb(0, 0, 0, 1) 100%);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 1280px;
    min-height: 1000px;
    padding: 20px;
}

.org-image {
    height: 720px;
    position: relative;
}

.org-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.org-content {
    height: 320px;
    width: 750px;
}

.org-content h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #b7c3da;
}

.org-content p {
    text-align: center;
    color: #718096;
    font-size: 1.5rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.org-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.org-stats span {
    background: #b7c3da;
    color: #2d384b;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 角色区域样式 */
.character-intro-container {
    position: relative;
    min-height: 1080px;
    min-width: 1920px;
    width: 100vw;
    height: 100vh;
    margin: 0 auto;
}

.character-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    height: 90vh;
    min-height: 1200px;
    width: 340px;
    gap: 20px;
    background: #1A202C;
    border-radius: 0px;
    padding: 20px 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 1);
    align-content: flex-start;
    position: relative;
    z-index: 10;
    margin: 0 30px;
    top: 5vh;
}

.character-list-item {
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 10px 10px;
    border-radius: 0;
    transition: background 0.2s;
    max-width: 100px;
    color: #ffffff;
}

.character-list-item.active,
.character-list-item:hover {
    background: linear-gradient(135deg, #2D3748 60%, #4A5568 100%);
    box-shadow: 0 4px 20px rgb(0, 0, 0);
    color: #fff;
}

.character-list-item img {
    max-width: 70px;
    max-height: 70px;
    min-width: 70px;
    min-height: 70px;
    width: 2.5vw;
    border-radius: 0;
    margin-bottom: 8px;
    border: 2px solid #E2E8F0;
}

/* 分页控件样式 */
.pagination-controls {
    position: absolute;
    top: min(25vh, 360px);
    right: -100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    padding: 20px 15px;
    background: #1A202C;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.pagination-btn {
    transition: transform 0.3s ease;
    background: transparent;
    border: none;
    color: #F7FAFC;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn.prev-btn {
    transform: rotate(90deg);
}

.pagination-btn.next-btn {
    transform: rotate(90deg);
}

.pagination-btn.prev-btn:hover {
    transform: rotate(90deg) scale(1.2);
}

.pagination-btn.next-btn:hover {
    transform: rotate(90deg) scale(1.2);
}

.page-indicators {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.page-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(247, 250, 252, 0.2);
    color: #CBD5E0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.page-indicator:hover {
    background: rgba(247, 250, 252, 0.3);
    color: #F7FAFC;
}

.page-indicator.active {
    background: linear-gradient(135deg, #F7FAFC, #E2E8F0);
    color: #2D3748;
    border-color: #4A5568;
    box-shadow: 0 0 15px rgba(247, 250, 252, 0.4);
}

.character-detail {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    gap: 40px;
    min-width: 1920px;
    min-height: 1080px;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

.character-info-panel {
    position: absolute;
    left: 55%;
    top: 300px;
    transform: translateY(-50%);
    z-index: 2;
    width: 800px;
    background: rgba(255, 255, 255, 0.0);
    border-radius: 20px;
    padding: 0px 30px 30px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.0);
}

.character-info-panel h1 {
    color: #ffffff;
    font-size: 10.2rem;
    font-weight: 700;
    text-shadow: 0 0 5px #000, 0 0 10px #000, 0 0 15px #000;
}

.character-info-panel .character-title {
    color: #ffffff;
    font-size: 3.1rem;
    margin-bottom: 18px;
    text-shadow: 0 0 5px #000, 0 0 10px #000, 0 0 15px #000;
}

.character-tags {
    margin-bottom: 18px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.character-tags .tag {
    display: inline-block;
    background: linear-gradient(135deg, #EDF2F7, #E2E8F0);
    color: #4A5568;
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-right: 8px;
    margin-bottom: 6px;
}

.character-info-panel .character-desc {
    color: #ffffff;
    font-size: 2.1rem;
    line-height: 1.7;
    width: 70%;
    text-shadow: 0 0 5px #000, 0 0 10px #000, 0 0 15px #000;
}

.character-art {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    min-height: 1080px;
    min-width: 1920px;
    background: linear-gradient(135deg, rgba(154, 103, 211, 0.2) 10%, rgba(0, 0, 0, 0.8) 100%);
}

.character-flip-container {
    width: 100%;
    height: 100%;
    perspective: 1000px;
    transition: transform 0.5s ease-in-out;
    cursor: pointer;
}

.character-faces {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    overflow: hidden;
}

.face img {
    width: 100%;
    height: 100%;
    border-radius: 0px;
    display: block;
}

/* 图片适配样式类 */
.character-art-img-wide {
    object-fit: cover;
}

.character-art-img-tall-cover {
    object-fit: cover;
}

.character-art-img-tall {
    object-fit: contain;
}

/* 关于我们区域样式 */
.section {
    padding: 0;
    position: relative;
    min-width: 1920px;
    width: 100vw;
}

#about {
    background-color: #1A202C;
}

#about .section-header {
    margin-bottom: 50px;
}

#about .section-title {
    color: #F7FAFC;
}

#about .section-title::after {
    background: linear-gradient(90deg, #F7FAFC, #E2E8F0);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.about-text {
    color: #E2E8F0;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-text p {
    text-align: center;
    margin-bottom: 20px;
}

/* 页脚样式 */
.footer {
    min-width: 1920px;
    width: 100vw;
    background-color: #1A202C;
    color: #F7FAFC;
    padding: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #F7FAFC;
}

.footer-section h4 {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #E2E8F0;
}

.footer-section p {
    text-align: center;
    color: #CBD5E0;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    color: #CBD5E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #F7FAFC;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #718096;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .bg-music-player {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
    }
    
    .music-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .volume-slider {
        width: 80px;
    }
    
    .pagination-controls {
        padding: 10px;
        gap: 8px;
    }
    
    .pagination-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .page-indicator {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
}